-- GENERATED SPELL FOR [Azure Saboteur] --


function spell0_31079(pUnit, Event) --@Shield Disruption,Self--
pUnit:FullCastSpellOnTarget(58291,pUnit)
pUnit:RegisterEvent('Sorts_31079', 607, 1)
end

function Sorts_31079(pUnit, Event)
local choix_sorts_31079 = math.random(0, 0)
if choix_sorts_31079 == 0 then
pUnit:RegisterEvent('spell0_31079', 1, 1)
end
end

function mob31079_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31079', math.random(1500, 3000), 1)
end

function mob31079_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31079_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31079_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31079, 1, 'mob31079_Action')
RegisterUnitEvent(31079, 2, 'mob31079_Leave')
RegisterUnitEvent(31079, 3, 'mob31079_Kill')
RegisterUnitEvent(31079, 4, 'mob31079_Die')
